<!DOCTYPE html>
<html>
<head>
	<title>支付成功</title>
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<link type="text/css" rel="stylesheet" href="../css/bootstrap.css">
	<link type="text/css" rel="stylesheet" href="../css/style.css">
	<script type="text/javascript" src="../js/jquery-3.1.1.min.js"></script>
	<script type="text/javascript" src="../js/bootstrap.min.js"></script>
	<script type="text/javascript" src="../layer/layer.js"></script>
	<script type="text/javascript" src="../js/cart.js"></script>
	<script type="text/javascript" src="../js/CookieShop.js"></script>
</head>
<body>
	<!--header-->
	<div class="header">
        <div class="container">
            <nav class="navbar navbar-default" role="navigation">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                        <span class="sr-only">Toggle navigation</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <h1 class="navbar-brand"><a href="./index"></a></h1>
                </div>
                <!--navbar-header-->
                <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                    <ul class="nav navbar-nav">
                        <li><a href="./index.html">首页</a></li>
                        <li class="dropdown">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">商品分类<b class="caret"></b></a>
                            <ul class="dropdown-menu multi-column columns-2">
                                <li>
                                    <div class="row">
                                        <div class="col-sm-12">
                                            <h4>商品分类</h4>
                                            <ul class="multi-column-dropdown" id="goodsTypeMenu">
                                                <li><a class="list" href="./goods_list.html">全部系列</a></li>
                                            </ul>
                                        </div>
                                    </div>
                                </li>
                            </ul>
                        </li>
                        <li><a href="./goodsrecommend_list.html?recommendTypeId=2">热销</a></li>
                        <li><a href="./goodsrecommend_list.html?recommendTypeId=3">新品</a></li>


                    </ul>
                    <!--/.navbar-collapse-->
                </div>
                <!--//navbar-header-->
            </nav>
            <div class="header-info">
                <div class="header-right search-box">
                    <a href="javascript:;"><span class="glyphicon glyphicon-search" aria-hidden="true"></span></a>
                    <div class="search">
                        <form class="navbar-form" action="./goods_search.html">
                            <input type="text" class="form-control" name="keyword">
                            <button type="submit" class="btn btn-default" aria-label="Left Align">搜索</button>
                        </form>
                    </div>
                </div>

                <div class="header-right cart">
                    <a href="./goods_cart.html">
                        <span class="glyphicon glyphicon-shopping-cart active" aria-hidden="true"><span class="card_num"></span></span>
                    </a>
                </div>
                <div class="clearfix"> </div>
            </div>
            <div class="clearfix"> </div>
        </div>
    </div>
	<!--//header-->
	<!--cart-items-->
	<div class="cart-items">
		<div class="container">
			<div class="alert alert-success" id="successMsg"></div>
			<p><a class="btn btn-success" href="./order_list.html">查看我的订单</a></p>
		</div>
	</div>
	<!--//cart-items-->
	<!--footer-->
	<div class="footer">
        <div class="container">
            <div class="text-center">

            </div>
        </div>
    </div>
	<!--//footer-->
</body>
<script type="text/javascript">
$(document).ready(function(){
  countMyCart();
  genGoodsTypesMenu();
  loadSuccessMsg();
});

function loadSuccessMsg(){
  var params = new URLSearchParams(window.location.search);
  var msg = params.get("message");
  $("#successMsg").text(msg);
}
</script>
</html>
